package offer.system;

public enum AuditType {
	QA_AUDIT("1"),
	SIGN_AUDIT("2");
	private String AuditType;
	private AuditType(String AuditType){
		this.AuditType = AuditType;
	}
	
	public String getAuditType(){
		return this.AuditType;
	}
	
	public static AuditType getAuditType(String auditType){
		if (null == auditType){
			return null;
		}
		
		if ("1".equals(auditType)){
			return QA_AUDIT;
		}
		else if ("2".equals(auditType)){
			return SIGN_AUDIT;
		}
		else{
			return null;
		}
	}
}
